home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The X-Philes (2nd Revision)
/
The X-Philes Number 1 (1995).iso
/
xphiles
/
hp48hor1
/
asndup.doc
< prev
next >
Wrap
Text File
|
1995-03-31
|
2KB
|
55 lines
ASNDUP, or Mode-Sensitive Key Assignments, by Joseph K Horn
Here's a trick you might want to use.
Key assignments can serve double purpose. For example, I never use the MATRIX
WRITER application key, except to put DUP into programs. But I use ASN
regularly. So I assigned the following little program to the MATRIX key. Its
action depends on what mode the 48's in. When the 48 is in program entry mode
(PRG annunciator on), then this program generates a DUP; otherwise, it does ASN
(instead of the Matrix Writer).
Use ASC-> to decode:
-------------< ASNDUP >--------
%%HP:T(1);
"D9D20A1EE378BF14F422B2130FCDC"
-------------------------------
Checksum of program: #CDCFh
Size: 12.5 bytes
After deASCing the above, type 51.3 ASN, and it'll be assigned to the MATRIX
key.
Here's a Voyager-style listing:
02D9D :: (Begin Program)
3EE1A If PRG mode, do/skip, else skip/do
1FB87 DUP
224F4 ASN
0312B ; (End Program)
Of course, you can put anything you want in place of DUP and/or ASN, to
personalize the MATRIX key.
You might object that a plain old assignment would be okay, since the Equation
Writer key can be used to enter DUP into programs. Ah, but I've already used
the above technique to redefine that key, too! (Don't use named programs for
tasks best done by key assignments. Ditto for CST menus. Libraries too.)
Permanently leaving your 48 in USER mode is only a bad idea if you regularly
share its use with other people. Otherwise, turn on USER and leave it on. We
paid a lot of money for the logic that enables us to personalize this machine.
Let's use it.
There are a lot of keys that serve no purpose (other than to beep) when in PRG
mode; for example, 2D and 3D. Now you can assign whatever you want to them
(e.g. programming commands) without losing their non-PRG mode definitions.
-- Joseph K Horn -- Peripheral Vision, Ltd. --